package tech.aistar.corejava.day08.Factory;

import static tech.aistar.corejava.day08.Factory.MyBeanFactory.*;

/**
 * Created by 李雨昂 on 2019/7/24.
 */
public class TestFactory {
    public static void main(String[] args) {

        //UserDaoImpl userDao = new UserDaoImpl();
        IUserDao u1 = MyBeanFactory.getInstance(2);


        //IUserDao u2 = MyBeanFactory.getInstance(MyBeanFactory.V_TWO);

        IUserDao u2 = MyBeanFactory.getInstance(V_TWO);

    }
}
